package edu.unc.comp410.colemangeer.data;
/**
 * Gateway for a database table of PersistentObjects.
 * Table Data Gateway pattern.
 */
public interface IPersistentObjectGateway {
	
		// Remove all rows from the table. Primarily used
		// for testing.
	void clear(); 
	int deleteById( int theId );
	Integer getNextUnusedId();
	
		// Return number of rows in table. Primarily used
		// for observing state while testing.
	int size();
	boolean successfulDBconnection();
	
		// Report the concrete implementation of this
		// interface. Primarily used for testing.
	String toString();
}
